<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href="__ADMIN__/css/H-ui.min.css" rel="stylesheet" type="text/css" />
    <link href="__ADMIN__/css/H-ui.admin.css" rel="stylesheet" type="text/css" />
    <link href="__ADMIN__/css/style.css" rel="stylesheet" type="text/css" />
    <link href="__ADMIN__/lib/Hui-iconfont/1.0.7/iconfont.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="__COMMON__/js/jquery-2.0.3.min.js"></script>
    <script type="text/javascript" src="__ADMIN__/lib/layer/2.1/layer.js"></script>
    <script type="text/javascript" src="__ADMIN__/lib/laypage/1.2/laypage.js"></script>
    <script type="text/javascript" src="__ADMIN__/lib/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="__ADMIN__/js/H-ui.js"></script>
    <script type="text/javascript" src="__ADMIN__/js/H-ui.admin.js"></script>
    <title>待办</title>
    <style>
        *{margin: 0;padding: 0;}
        .qdxw{ margin:20px 30px;}
        .qdxw ul a{font-family: '微软雅黑';font-size: 18px;color: #333;text-decoration: none;}

        .auto-style1 {
            width: 80px;
        }

        #desc {
            width: 740px;
            height: 26px;
        }
        #deal {
            height: 13px;
            width: 436px;
        }
        #desc0 {
            width: 438px;
            height: 14px;
        }
        #desc1 {
            width: 737px;
            height: 27px;
        }

        #deal1 {
            width: 740px;
            height: 25px;
        }

        #desc2 {
            width: 438px;
            height: 14px;
        }
        #desc2 {
            width: 739px;
            height: 26px;
        }

        #desc3 {
            width: 438px;
            height: 14px;
        }
        #deal2 {
            width: 740px;
            height: 25px;
        }

        #deal3 {
            width: 740px;
            height: 30px;
        }

        #desc3 {
            width: 438px;
            height: 14px;
        }
        #desc3 {
            width: 740px;
            height: 30px;
        }

        #desc4 {
            width: 438px;
            height: 14px;
        }
        #desc4 {
            width: 740px;
            height: 25px;
        }

        #deal4 {
            width: 740px;
            height: 27px;
        }

        #deal5 {
            width: 740px;
            height: 31px;
        }
        .auto-style5 {
            height: 41px;
        }
        .auto-style6 {
            height: 33px;
        }

        .auto-style7 {
            height: 33px;
            width: 72px;
        }
        .auto-style8 {
            height: 41px;
            width: 72px;
        }
        .auto-style9 {
            height: 33px;
            width: 86px;
        }
        .auto-style10 {
            height: 41px;
            width: 86px;
        }
        .auto-style11 {
            height: 33px;
            width: 80px;
        }
        .auto-style12 {
            height: 41px;
            width: 80px;
        }
        .auto-style13 {
            height: 33px;
            width: 147px;
        }
        .auto-style14 {
            height: 41px;
            width: 147px;
        }
        .auto-style15 {
            height: 33px;
            width: 129px;
        }
        .auto-style16 {
            height: 41px;
            width: 129px;
        }
        .auto-style17 {
            height: 33px;
            width: 79px;
        }
        .auto-style18 {
            height: 41px;
            width: 79px;
        }
        .auto-style21 {
            width: 59px;
        }
        .auto-style22 {
            height: 33px;
            width: 59px;
        }
        .auto-style23 {
            height: 41px;
            width: 59px;
        }
        .auto-style25 {
            height: 105px;
        }
        .auto-style26 {
            height: 31px;
        }

    </style>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 审批管理 <span class="c-gray en">&gt;</span> 待办 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<br>
<form action="" method="post" class="form form-horizontal" enctype="multipart/form-data">
    <div class="qdxw">
        <table style="width: 100%; height: 380px;">
            <tr>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style22">编号</td>
                <td class="auto-style11" style="border-style: inset; font-family: 黑体;">风险点名称</td>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style13">危险源名称</td>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style7">风险等级</td>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style15">管控措施</td>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style9">管控层级</td>
                <td class="auto-style17" style="border-style: inset; font-family: 黑体;">排查周期</td>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style6">责任人&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
            </tr>
            <tr>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style23">&nbsp; <{$object_info['object_id']}></td>
                <td class="auto-style12" style="border-style: inset; font-family: 黑体;"><{$danger['name']}></td>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style14"><{$object_info['name']}></td>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style8"><{$object_info['danger_level_id']}></td>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style16"><{$object_info['engineering_method']}></td>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style10">

                    <if condition="$object_info['object_level_id'] == 1">公司级
                        <elseif condition="$object_info['object_level_id'] == 2"/>专业级
                        <elseif condition="$object_info['object_level_id'] == 3"/>车间级
                        <elseif condition="$object_info['object_level_id'] == 4"/>班组级
                    </if>
                </td>
                <td class="auto-style18" style="border-style: inset; font-family: 黑体;">
                    <if condition="$object_info['object_level_id'] == 1">每月
                        <elseif condition="$object_info['object_level_id'] == 2"/>每旬
                        <elseif condition="$object_info['object_level_id'] == 3"/>每周
                        <elseif condition="$object_info['object_level_id'] == 4"/>每日
                    </if>
                </td>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style5">

                    <volist name="zerenrens" id="sub">
                        <li class="li2"> <{$sub['level_id']}>级责任人 ：  <{$sub['username']}></li>
                    </volist>


                </td>


            </tr>
            <tr>
                <td rowspan="10" style="border-style: inset; font-family: 黑体;" class="auto-style21">排查<br />
                    治理<br />
                    情况</td>
                <td class="auto-style1" style="border-style: inset; font-family: 黑体;" rowspan="2">岗位级</td>
                <td colspan="5" style="border-style: inset; font-family: 黑体;" class="auto-style25">
                    是否有隐患：
                    <if condition="$push_info['is_danger'] =='1'">【是】
                        <else />【否】
                        </if><br><br>
                    隐患说明：<{$push_info['desc']}>   </td>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style25">

                <a href="/index.php/Admin/Check/todo_list_pic/push_id/<{$push_info['push_id']}>" target="_blank" >
                    <img src=" /<{$push_info['img_url']}> "   width="70px" height="70px" />
                </a>

                    <if condition="$push_info['img_url1'] ==''">
                        <else />
                        <a href="/index.php/Admin/Check/todo_list_pic/push_id/<{$push_info['push_id']}>" target="_blank" >
                         <img src=" /<{$push_info['img_url1']}> "  width="70px" height="70px" />
                        </a>
                    </if>
                    <if condition="$push_info['img_url2'] ==''">
                        <else />
                        <a href="/index.php/Admin/Check/todo_list_pic/push_id/<{$push_info['push_id']}>" target="_blank" >
                            <img src="/<{$push_info['img_url2']}> "  width="70px" height="70px" />
                        </a>
                    </if>
                    <if condition="$push_info['img_url3'] ==''">
                        <else />
                        <a href="/index.php/Admin/Check/todo_list_pic/push_id/<{$push_info['push_id']}>" target="_blank" >
                            <img src="/<{$push_info['img_url3']}> "  width="70px" height="70px" />
                        </a>
                    </if>
                    <if condition="$push_info['video'] ==''">无视频
                        <else />
                        <div style="padding-top: 5px">
                            <video width="90" height="90"   controls="controls">
                              <source src=" /<{$push_info['video']}> " type="video/mp4" />
                            </video>
                             <u>  <a href="/index.php/Admin/Check/todo_list_video/push_id/<{$push_info['push_id']}>" target="_blank"> 点击查看视频 </a></ul>
                        </div>
                    </if>

                </td>
            </tr>
            <tr>
                <td colspan="5" style="border-style: inset; font-family: 黑体;" class="auto-style26">整改措施：<{$push_info['deal']}></td>
                <td style="border-style: inset; font-family: 黑体;" class="auto-style26">
                </td>
            </tr>
            <tr>
                <td class="auto-style1" style="border-style: inset; font-family: 黑体;" rowspan="2">班组级</td>

            </tr>
            <tr>
                <td colspan="5" style="border-style: inset; font-family: 黑体;">处理意见：
                    <if condition="$level_id ==4">  <input id="deal2" name="deal2" type="text"  value="<{$sug1}> "/>
                        <else />
                        <{$sug1}>
                   </if>
                </td>
                <td style="border-style: inset; font-family: 黑体;">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1" style="border-style: inset; font-family: 黑体;" rowspan="2">车间级</td>

            </tr>
            <tr>
                <td colspan="5" style="border-style: inset; font-family: 黑体;">处理意见：

                    <if condition="$level_id ==3">  <input id="deal3" name="deal3" type="text"  value="<{$sug2}> "/>
                        <else />
                        <{$sug2}>
                    </if>
               </td>
                <td style="border-style: inset; font-family: 黑体;">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1" style="border-style: inset; font-family: 黑体;" rowspan="2">专业级</td>


            </tr>
            <tr>
                <td colspan="5" style="border-style: inset; font-family: 黑体;">
                    处理意见：
                    <if condition="$level_id ==2">  <input id="deal4" name="deal4" type="text"  value="<{$sug3}> "/>
                        <else />
                        <{$sug3}>
                    </if>
                <td style="border-style: inset; font-family: 黑体;">
                &nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1" style="border-style: inset; font-family: 黑体;" rowspan="2">公司级</td>

            </tr>
            <tr>
                <td colspan="5" style="border-style: inset; font-family: 黑体;">
                    处理意见：
                    <if condition="$level_id ==1">  <input id="deal5" name="deal5" type="text"  value="<{$sug4}> "/>
                        <else />
                        <{$sug4}>
                    </if>

                <td style="border-style: inset; font-family: 黑体;">
                &nbsp;</td>
            </tr>


        </table>


        <input type="hidden" name="object_id" value="<{$info.object_id}>">
        <div class="row cl">
            <div class="col-10 col-offset-2">
                <button class="btn btn-primary radius"  name='guidang' type="submit"><i class="Hui-iconfont">&#xe632;</i> 归档
                </button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <button class="btn btn-primary radius" name='tijiao' type="submit"><i class="Hui-iconfont">&#xe632;</i> 提交
                </button>&nbsp;&nbsp;&nbsp;&nbsp;
                <button class="btn btn-default radius" name='bohui' type="submit"><i class="Hui-iconfont">&#xe632;</i>  驳回&nbsp;&nbsp;</button>
            </div>
        </div>

</form>
</div>
<script type="text/javascript">
    //===【浏览文件上传地址写入文本框】开始
    $(function () {
        $('#doc-form-file').on('change', function () {
            var fileNames = '';
            $.each(this.files, function () {
                fileNames += this.name;
            });
            $('#ImgURL').val(fileNames);
        });
    });
    //===【浏览文件上传地址写入文本框】结束

    //缩略图显示方法
    function PreviewImage(imgFile) {
        var filextension = imgFile.value.substring(imgFile.value.lastIndexOf("."), imgFile.value.length);
        filextension = filextension.toLowerCase();
        if ((filextension != '.jpg') && (filextension != '.gif') && (filextension != '.jpeg') && (filextension != '.png') && (filextension != '.bmp')) {
            alert("对不起，系统仅支持标准格式的照片，请您调整格式后重新上传，谢谢 !");
            imgFile.focus();
        }
        else {
            var path;
            if (document.all)//IE
            {
                imgFile.select();
                path = document.selection.createRange().text;
                document.getElementById("imgPreview").innerHTML = "";
                document.getElementById("imgPreview").style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true',sizingMethod='scale',src=\"" + path + "\")";//使用滤镜效果
            }
            else//FF
            {
                path = window.URL.createObjectURL(imgFile.files[0]);// FF 7.0以上
                //path = imgFile.files[0].getAsDataURL();// FF 3.0
                document.getElementById("imgPreview").innerHTML = "<img id='img1' width='100px' height='100px' src='" + path + "'/>";
                //document.getElementById("img1").src = path;
            }
        }
    }
</script>

</body>
</html>